package com.i2silly.wxbot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.i2silly.wxbot.dao.BotMonitorMapper;
import com.i2silly.wxbot.entity.BotMonitor;
import com.i2silly.wxbot.service.IBotMonitorService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @program: wx-bot
 * @description：
 * @author: pzhongqiang@linewell.com
 * @date: 2020年11月27日 12:38:33
 */
@Service
public class BotMonitorServiceImpl extends ServiceImpl<BotMonitorMapper, BotMonitor> implements IBotMonitorService {

    @Autowired
    private BotMonitorMapper monitorMapper;

    @Override
    public List<BotMonitor> listByPid(String pid) {
        return monitorMapper.selectByPid(pid);
    }
}
